package com.bw.zg5_demo_2;

import com.alibaba.android.arouter.launcher.ARouter;
import com.bw.lib_common.BaseApp;
import com.qiniu.pili.droid.shortvideo.PLShortVideoEnv;
import com.umeng.commonsdk.UMConfigure;
import com.umeng.socialize.PlatformConfig;

public class App extends BaseApp {
    @Override
    public void onCreate() {
        super.onCreate();
        initARoute();

        PLShortVideoEnv.init(getApplicationContext());

        UMConfigure.init(this, "66d06394192e0574e77014fd", "umeng", UMConfigure.DEVICE_TYPE_PHONE, "");

        PlatformConfig.setQQZone("101830139","5d63ae8858f1caab67715ccd6c18d7a5");
    }

    private void initARoute() {
//        ARouter.openDebug();
        ARouter.openLog();
        ARouter.init(this);
    }
}
